/*-
 * $Id: Rectangle.java 4 2010-11-04 07:39:56Z andrewbass $
 */

package com.google.code.getwrong.terminalui;

/**
 * @author Andrew ``Bass'' Shcheglov (andrewbass@gmail.com)
 * @author $Author: andrewbass $
 * @version $Revision: 4 $, $Date:: 2010-11-04 07:39:56 +0000 #$
 */
public final class Rectangle {
	private final Point origin;

	private final Dimension dimension;

	/**
	 * @param origin
	 * @param dimension
	 */
	public Rectangle(final Point origin, final Dimension dimension) {
		this.origin = origin;
		this.dimension = dimension;
	}

	public Point getOrigin() {
		return this.origin;
	}

	public Dimension getDimension() {
		return this.dimension;
	}
}
